From 3fd427cfce7fb85a35b7b7471d0f28b5a258fe11 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 28 Dec 2019 11:55:12 -0500 Subject: [PATCH] win32: Use a regular window for printing We never show this window, so it should not matter. Ideally, we'd just create a surface to get handle, anyway. --- gtk/gtkprintoperation-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c index 6308f1311b..2518545e7f 100644 --- a/gtk/gtkprintoperation-win32.c +++ b/gtk/gtkprintoperation-win32.c @@ -1722,7 +1722,7 @@ gtk_print_operation_run_with_dialog (GtkPrintOperation *op, if (parent == NULL) { - invisible = gtk_window_new (GTK_WINDOW_POPUP); + invisible = gtk_window_new (GTK_WINDOW_TOPLEVEL); parentHWnd = get_parent_hwnd (invisible); } else -- 2.30.2